﻿using System;
using System.Globalization;


namespace Infrastructure.Coding
{
    public static class TimeManagement
    {
        public static int GetWeekOfTheYear(DateTime dt)
        {
            CultureInfo myCI = new CultureInfo("en-US");
            return myCI.Calendar.GetWeekOfYear( dt,CalendarWeekRule.FirstFourDayWeek,DayOfWeek.Monday);
        }
    }
}
